I have searched the preferences and also searched the preferences in El Capitains' dashboard. If it was a Windows computer I'd alter how the commuter reacts when media is inserted, but try as I can I cannot find the solution just by searching. I suppose a regedit, or a suitable terminal code could do it..?
If the Photos.app is automatically launching, when you insert a card, uncheck the box "Open Photos for this device" in the Photos Import panel.
It will stop Photos from launching, until you format the card to erase it.
A quick and dirty solution would be to disable the launch of any application at all: Right now you can only try to disable the autolaunch of any photo application altogether. But it does not always work and any update might break it.
This Terminal command will disable the auto start of any photo application, not just Photos. So Lightroom will not launch either and you will have to launch the application of your choice manually.
- Quit Photos and disconnect any camera.
- Open a Terminal and paste this command into it and hit return:
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
Restart the Mac . it should not be necessary, but it only worked for me after restarting.
I found this fix in a post by JadedEye (to léonie)
https://discussions.apple.com/thread/7176882?answerId=29506561022#29506561022